<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>@yield('title')</title>
    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
    <!-- 样式 -->
    <link href="http://shop.geekadpt.cn/css/app.css" rel="stylesheet">
    {{--layui--}}
    <link rel="stylesheet" type="text/css" href="http://shop.geekadpt.cn/res/layui/css/layui.css">
    <script type="text/javascript" src="http://shop.geekadpt.cn/res/layui/layui.js"></script>
</head>
<body>
<div id="app" class="{{ route_class() }}-page">
    @include('layouts._header')
    <div class="kaisou-content layui-container">
        @yield('content')
    </div>
    @include('layouts._footer')
</div>
<!-- JS 脚本 -->
    <script src="http://shop.geekadpt.cn/js/app.js"></script>
    @yield('scriptsAfterJs')
</body>
</html>
